Skip to content

Dev 573 - Create User Component#85

Open
timothyli1331 wants to merge 2 commits intopreviewfrom
DEV-573
Open

Dev 573 - Create User Component#85
timothyli1331 wants to merge 2 commits intopreviewfrom
DEV-573

Conversation

@timothyli1331
Copy link

References

Proposed Changes

  • Created a basic User Component template that displays user info

@linear
Copy link

linear bot commented Feb 21, 2026

@vercel
Copy link

vercel bot commented Feb 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
help Ready Ready Preview, Comment Feb 21, 2026 11:03pm

Request Review

@timothyli1331 timothyli1331 changed the base branch from main to preview February 21, 2026 05:33
created_at: string;
};

function UserCard({ user }: { user: User }) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The props should be called UserCardProps


function UserCard({ user }: { user: User }) {
return (
<Pane
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could experiment with using a Card instead of a Pane - up to you on this

<Pane
border='default'
borderRadius={8}
padding={16}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want to use majorScale and minorScale. Check the Evergreen docs

marginY={20}
background='white'
>
<p>{user.net_id}</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also use Evergreen elements here

background='white'
>
<p>{user.net_id}</p>
<p>Class Year: {user.class_year}</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also add some styling on these texts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants